Skip to content

Conversation

pull[bot]
Copy link

@pull pull bot commented Oct 14, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

)

This commit adds a pair of methods `Meter::RegisterCallback` and
`Meter::DeregisterCallback` which allow you to set up one callback
which can record observations for multiple observable instruments.

The callback will be passed an object of type MultiObserverResult, which
can be used to get an ObserverResultT for an instrument.

This allows a single expensive operation to yield multiple different
observable metrics without the need to call said expensive operation
multiple times.
@pull pull bot locked and limited conversation to collaborators Oct 14, 2025
@pull pull bot added the ⤵️ pull label Oct 14, 2025
@pull pull bot merged commit 767ef30 into lalitb:main Oct 14, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant